From: Florian Müllner Date: Thu, 11 Mar 2010 20:40:42 +0000 (+0100) Subject: [StTextureCache] Fix an accidentally swapped ref/unref X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10326 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=46f8d913a1d9ae76b340b21d35aafb129541e7cb;p=gnome-shell.git [StTextureCache] Fix an accidentally swapped ref/unref --- diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index b1e372338..ad6201120 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -865,7 +865,7 @@ st_texture_cache_load (StTextureCache *cache, else return COGL_INVALID_HANDLE; } - cogl_handle_unref (texture); + cogl_handle_ref (texture); return texture; }